set allowed methods flask

35

from flask import Flask, request, render_template, url_for, redirect

@app.route("/signup/", methods = ['GET', 'POST'])
def signup():
    return "yay"

Comments

Submit
0 Comments